/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 * Origin source from MaNGOS(GPL2).
 * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
 */

#ifndef __DATABASE_H__
#define __DATABASE_H__

#include "Common.h"

namespace PQServiceCore
{
	class SqlTransaction;
	class SqlResultQueue;
	class SqlQueryHolder;
	
	class Database
	{
	public:
		 bool PExecute(const char *format,...);
		 // sets the result queue of the current thread, be careful what thread you call this from
        void SetResultQueue(SqlResultQueue * queue);
	};

}
#endif
